<?php

use Phalcon\Mvc\Model;

class Roles extends Model
{
	protected $id;
	protected $role;
	protected $ACL;

	public function getSource()
	{
		return "ot_role";
	}

	public function initialize()
	{
		$this->hasMany("id", "Users", "role");
	}

	public function getRoleName()
	{
		return $this->role;
	}
}